package ui.activity.mine.contract;


import java.util.List;

import Bean.MessagecenterBean;
import base.BaseInfoView;
import base.BasePresenter;

/**
 * Created by chenjian on 19/2/26
 * 1
 */

public interface MessageCenterContract {

    interface View extends BaseInfoView {
        void loadMoreComplete();

        void hasLoadMore(boolean b);

        void refreshComplete();

        void upDateUI(List<MessagecenterBean.DataBean.ItemsBean> bean, int readNumber);

        void upDateNumber(int type, int number);
    }

    interface Presenter extends BasePresenter {

        void getMessageList(boolean isRefresh, String id, int type);

        void setMessageType(String id, int type);

        void setNumberType(String id, int type);

    }
}
